﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MethodWorx.CMS.Workflow
{
    [Serializable]
    public class BranchStep : WorkflowConfigurationStep
    {
        public string SubStepId { get; set; }

        public BranchStep()
        {
        }

        public BranchStep(string name, string subStepId)
        {
            this.Id = Guid.NewGuid();
            this.ComponentId = Guid.Parse("{A9C9075E-CF51-435A-B31B-8634BCF463D7}");
            this.Name = name;
            this.CanConfigure = false;
            this.SubStepId = subStepId;
        }
    }
}
